package com.crm.crmback.mapper;


import com.crm.crmback.model.CourseOrder;
import com.crm.crmback.model.MonthIncome;

import java.util.List;
import java.util.Map;

public interface CourseOrderMapper {
    /**返回记录数据*/
    public int findCountByMap(Map<String,Object> map);
    /** 返回数据列表*/
    public List<CourseOrder> findListByMap(Map<String,Object> map);

    public void insert(CourseOrder order);

    public CourseOrder findByOrderId(String order_id);

    public void delete(String order_id);

    public void update(CourseOrder order);

    public List<MonthIncome> getMonthIcomes();

}
